package com.example.qxfw.qhtztj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.qhtztj.entity.SumHumidityData;
import com.example.qxfw.qhtztj.entity.vo.SumHumidityDataVo;
import com.example.qxfw.qhtztj.entity.vo.WindDrectionDataVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SumHumidityDataMapper extends BaseMapper<SumHumidityData> {

    List<SumHumidityDataVo> getSumHumidityData(SumHumidityData sumHumidityData);

    /**
     * 查询最高气温，最低气温，平均气温，积温
     *
     * @param sumHumidityData
     * @return
     */
    List<SumHumidityDataVo> getTempData(SumHumidityData sumHumidityData);

    /**
     * 查询风向/频率
     * @param sumHumidityData
     * @return
     */
    List<WindDrectionDataVo> getWindDrectionData(SumHumidityData sumHumidityData);



}
